#ifndef MYOBJECTCREATOR_H
#define MYOBJECTCREATOR_H

#include "bend2d.h"
#include "collision.h"
using namespace bend2d;

class myCollision : public Collision
{
    public:
        void CollideMovingPointWithStaticLine(Collidable* movingPoint, Collidable* staticLine);
};

class myObjectCreator : public ObjectCreator
{
    public:
        Boundary* CreateBoundary() const;
        Boundary* CreateBoundary(const Line& line);
        Boundary* CreateWorldBoundary() const;
        Collision* AccessCollisionHandler() { return &m_CollisionHandler; }
    private:
        myCollision m_CollisionHandler;
};

#endif
